﻿#include "templatemethod.h"
#include <createcode.h>
#include <ui_createcode.h>
TemplateMethod::TemplateMethod(CreateCode *context)
{
    ModeState::context = context;
}

void TemplateMethod::Switchaction()
{
    ModeState::context->ui->label_arg1_value->setText(QString::fromLocal8Bit("模板方法模式"));
}

void TemplateMethod::Gnerateaction()
{
    qDebug()<<"TemplateMethod::Gnerateaction()";
}

void TemplateMethod::Gnerateactionc()
{
    qDebug()<<"TemplateMethod::Gnerateactionc()";
}

void TemplateMethod::Gnerateactioncplus()
{
    qDebug()<<"TemplateMethod::Gnerateactioncplus()";
}

void TemplateMethod::Gnerateactionjava()
{
    qDebug()<<"TemplateMethod::Gnerateactionjava()";
}
